<script type="text/html" template lay-done="layui.data.sendParams(d.params)">
  <div class="layui-form" lay-filter="form_partner">
    <input type="hidden" name="id" value="{{d.params.id || ''}}"/>
    <div class="layui-form-item">
      <label class="layui-form-label">合作商名称</label>
      <div class="layui-input-inline">
        <input type="text" name="name" value="{{d.params.name || ''}}" lay-verify="required" autocomplete="off"
               class="layui-input">
      </div>
    </div>
    <div class="layui-form-item"></div>
    <div class="layui-form-item">
      <div class="layui-footer">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
          <input type="button" lay-submit lay-filter="submit_partner" value="确认" class="layui-btn">
        </div>
      </div>
    </div>
  </div>
</script>
<script>
  layui.data.sendParams = function (obj) {
  }
</script>
